package cn.edu.sjtu.se.dslab.component.design;

import java.util.Date;
import java.util.List;

/**
 * 
 * @author longshaohang
 *
 */

public class DesignPatternInstance
{
	private long id;
	private Date createTime;
	private List<DesignPatternPropertyInstance> propertyInstances;
	
	private DesignPattern designPattern;
	
	private DesignPatternComponent component;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public DesignPattern getDesignPattern() {
		return designPattern;
	}

	public void setDesignPattern(DesignPattern designPattern) {
		this.designPattern = designPattern;
	}

	public List<DesignPatternPropertyInstance> getPropertyInstances() {
		return propertyInstances;
	}

	public void setPropertyInstances(
			List<DesignPatternPropertyInstance> propertyInstances) {
		this.propertyInstances = propertyInstances;
	}

	public DesignPatternComponent getComponent() {
		return component;
	}

	public void setComponent(DesignPatternComponent component) {
		this.component = component;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	
	
	
}
